import axios from '../utils/request'
import api from './api'
function login(body) {
    return axios.post(`${api.login}`, body)
}

function register(body) {
    return axios.post(`${api.register}`, body)
}


export default {
    login,
    register
}